package com.zhou.common.mybatis.template.shiro.zhou.exception;

import lombok.Data;

@Data
public class Response<T> {
    private String code;
    private String msg;
    private T data;

    public Response(){}
    public Response(String code, String msg) {
        this(code, msg, null);
    }

    public Response(String code, String msg, T data) {
        this.code = code;
        this.data = data;
        this.msg = msg;
    }
}
